
package com.tempjob.app.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 工作经历
 * @author hui
 * @Date 2024/12/2 23:12
 **/
@Data
@ApiModel("工作经历")
public class UserWorkExperienceDTO {

    @ApiModelProperty("id,更新传")
    private String id;

    @ApiModelProperty("单位名称")
    private String companyName;

    @ApiModelProperty("岗位名称")
    private String jobTitle;

    @ApiModelProperty("入职时间yyyy-MM")
    @DateTimeFormat(pattern = "yyyy-MM")
    @JsonFormat(pattern = "yyyy-MM", timezone = "GMT+8")
    private Date startTime;

    @ApiModelProperty("离职时间")
    @DateTimeFormat(pattern = "yyyy-MM")
    @JsonFormat(pattern = "yyyy-MM", timezone = "GMT+8")
    private Date endTime;

    @ApiModelProperty("工作内容描述")
    private String jobContent;

}
